package com.chouxiaozi.method;

public class MethodTest {
    public static void main(String[] args) {
        IFactory factory = new IPhoneFactory();
        factory.create().createProduct();
        factory = new IGuoFactory();
        factory.create().createProduct();
    }
}
